Skip to content

Conversation

@AlexAndriesUiPath
Copy link
Contributor

@AlexAndriesUiPath AlexAndriesUiPath commented Oct 17, 2025

Override AGENTS.md and Related Files on Init

Summary

This PR updates the uipath init command to override existing agent documentation files (AGENTS.md, CLAUDE.md, and reference files) instead of skipping them when they already exist. This ensures users always get the latest version of these files when running uipath init.

Motivation

Previously, when users ran uipath init, the command would skip creating AGENTS.md and related files if they already existed in the project directory. This meant that users would not receive updates to these important documentation files when:

  • The SDK is updated with new features or CLI commands
  • Reference documentation is improved or corrected
  • New services or methods are added to the SDK

By overriding these files on each uipath init run, users automatically get the most up-to-date documentation that matches their installed SDK version.

Impact

User-facing changes:

  • Users running uipath init will now receive updated documentation files automatically
  • Any manual edits to these files will be overwritten (users should not edit these auto-generated files)

Development Package

  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath==2.1.98.dev1007232014",

  # Any version from PR
  "uipath>=2.1.98.dev1007230000,<2.1.98.dev1007240000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath = { index = "testpypi" }

@AlexAndriesUiPath AlexAndriesUiPath added the build:dev Create a dev build from the pr label Oct 17, 2025
@github-actions github-actions bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Oct 17, 2025
@gheorghitahurmuz
Copy link
Contributor

I think we should show what we’re going to override. otherwise if the user has custom instructions we might override them

@radu-mocanu
Copy link
Contributor

I think we should show what we’re going to override. otherwise if the user has custom instructions we might override them

@gheorghitahurmuz @AlexAndriesUiPath what if we had a flag for the uipath init command that one could use to avoid .md files overwriting? My concern is that the console might get polluted with a lot of logs.

@AlexAndriesUiPath AlexAndriesUiPath force-pushed the chore/agents_md_override branch 3 times, most recently from b96b7a1 to b12fafc Compare October 22, 2025 10:30
@AlexAndriesUiPath AlexAndriesUiPath merged commit 268f29c into main Oct 22, 2025
58 of 60 checks passed
@AlexAndriesUiPath AlexAndriesUiPath deleted the chore/agents_md_override branch October 22, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:dev Create a dev build from the pr test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants